<template>
  <div class="new">
	  
    <h1 class="title">{{data.title}}</h1>
    <p class="text">
      {{data.content}}
    </p>
  </div>
</template>

<script>
  export default {
    data(){
      return{
        data:null,
      }
    },
    created(){
      this.data =this.$route.query.data
      console.log(this.data)
    }
  }
</script>

<style lang="less" scoped>
.new{
  margin:20px auto 60px;
  width: 1200px;
}
.title{
  font-weight: 400;
  color:#797979;
  font-size: 30px;
  margin: 20px 0;
  text-align: center;
}
.text{
  line-height: 30px;
}
</style>